home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / prtvtoc.z / prtvtoc
Encoding:
Text File  |  2002-10-03  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. pppprrrrttttvvvvttttoooocccc((((1111MMMM))))                                                        pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      prtvtoc - print disk volume header information
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////eeeettttcccc////pppprrrrttttvvvvttttoooocccc [[----aaaaeeeeffffhhhhmmmmssss] [----tttt _f_s_t_a_b]] [_r_a_w_d_i_s_k_n_a_m_e]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _p_r_t_v_t_o_c prints a summary of the information in the volume header for a
  16.      single disk or all of the local disks attached to a system (see _vvvv_hhhh(7M)).
  17.      The command is usually used only by the superuser.
  18.  
  19.      The _r_a_w_d_i_s_k_n_a_m_e name should be the raw device filename of a disk volume
  20.      header in the form /_d_e_v/_r_d_s_k/_d_k_s?_d?_v_h.
  21.  
  22.      Note:  _p_r_t_v_t_o_c knows about the special file directory naming conventions,
  23.      so the /_d_e_v/_r_d_s_k prefix can be omitted.
  24.  
  25.      If no name is given, the information for the root disk is printed.
  26.  
  27.      In single disk mode, _p_r_t_v_t_o_c prints information about the disk geometry
  28.      (number of cylinders, heads, and so on), followed by information about
  29.      the partitions.  For each partition, the type is indicated (for example,
  30.      filesystem, raw data, and so on).  Cylinders can be non-integral values,
  31.      as they may not correspond to actual physical values, for some drive
  32.      types.  For filesystem partitions, _p_r_t_v_t_o_c shows if there is actually a
  33.      filesystem on the partition, and if it is mounted, the mount point is
  34.      shown.  Mount points shown in square brackets indicate the mount point of
  35.      the logical volume the partition belongs to.
  36.  
  37.      The following options to _p_r_t_v_t_o_c can be used:
  38.  
  39.      ----ssss         Print only the partition table, with headings but without the
  40.                 comments.
  41.  
  42.      ----hhhh         Print only the partition table, without headings and comments.
  43.                 Use this option when the output of the _p_r_t_v_t_o_c command is
  44.                 piped into another command.
  45.  
  46.      ----tttt _f_s_t_a_b   Use the file _f_s_t_a_b instead of /_e_t_c/_f_s_t_a_b.  This option is now
  47.                 ignored, as the file /_e_t_c/_m_t_a_b is always used to find mount
  48.                 points.
  49.  
  50.      The following options create summaries from all disk volume headers:
  51.  
  52.      ----aaaa         Show abbreviated partition listings for all disks attached to
  53.                 the system.
  54.  
  55.      ----mmmm         List all partitions in use by local filesystems.  The listing
  56.                 includes partitions that belong to logical volumes.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. pppprrrrttttvvvvttttoooocccc((((1111MMMM))))                                                        pppprrrrttttvvvvttttoooocccc((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----eeee         Extended listing.  This combines the ----aaaa and ----mmmm options as well
  75.                 as reporting unallocated (free) partitions, and overlapping
  76.                 mounted partitions.
  77.  
  78. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  79.      The output below is for a SCSI system (root) disk obtained by invoking
  80.      _p_r_t_v_t_o_c without parameters.  A change from earlier releases is that we no
  81.      longer treat disk drives as though they were of fixed geometry (most SCSI
  82.      disks no longer have fixed geometry), synthesizing a geometry that made
  83.      the capacity work.  Now they are simply treated as a stream of blocks, so
  84.      there is no longer any information about cylinders and other drive
  85.      geometry, just partition information.
  86.  
  87.           Printing label for root disk
  88.  
  89.           * /dev/root (bootfile "/unix")
  90.           *     512 bytes/sector
  91.           Partition  Type  Fs   Start: sec    Size: sec   Mount Directory
  92.            0          efs  yes        4608      4108800
  93.            1          raw          4113408        81408
  94.            8       volhdr                0         4608
  95.           10       volume                0      4194816
  96.  
  97.      This next output is for a SCSI option disk obtained by invoking _p_r_t_v_t_o_c
  98.      with drive dks0d2vh as the parameter.
  99.  
  100.           * /dev/rdsk/dks0d2vh (bootfile "/unix")
  101.           *     512 bytes/sector
  102.           Partition  Type  Fs   Start: sec    Size: sec   Mount Directory
  103.            7          xfs  yes        4560      8684310   /usr/people
  104.            8       volhdr                0         4560
  105.           10       volume                0      8688870
  106.  
  107.  
  108. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  109.      dvhtool(1M), fx(1M), dks(7M), vh(7M).
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.